add package.json
add jshint
add tests
add basic implementation