export as a module
add initial test
update readme