Cleanup, revamp and add tests
Add publishConfig to package.json
Fix typo
Merge pull request #1 from bengourley/master

Cleanup, revamp and add tests