Adding a package.json

Forked the project and added a package.json so I could keep track of
where the code came from.
Add index.js for the module root.