split into lib and bin for future tests
-f option instead of unnamed option for file; basic tests
trivial updates, README update, package.json update