Add package.json file.
Move test files to test directory.
Move source files to lib directory.