add main field to package.json
added dependencies to package.json
Merge pull request #1 from ahdinosaur/master

make `require`-able