Existence of solutions and scattering theory for the non linear schrödinger equation