Well-posedness and local smoothing of solutions of Schrodinger equations