add command line interface to project
update README to reflect new usage pattern