add implementation
add package.json
add tests
add example to readme