Reformat parser as a module
Add package.json
Create mocha test suite, add parser unit test