npm package style
refactor: move to a proper structure
refactor: port to sane javascript
doc: add script doc block
Release for version 0.0.1.
Merge pull request #1 from Eluinhost/features/npm

npm package style, recoded into javascript