Refactored code to use exports
Merge pull request #41 from gregerg/master

move package.json to main dir
Merge pull request #42 from jasonerpenbeck/master

Refactored code to use exports