Moving package.json to root directory

Moved "package.json" file to root directory and added the "files" field to specify "src/main" as the directory to include in npm build.