Move main to source directory.
Add package json.