style: reshape the code a bit
feat: add basic mocha tests
chore: update the README
chore: add .travis.yml
fix(travis): remove node 0.6