implements a unified command-line interface
cleans out unused code
Merge pull request #38 from ddale/cli

implements a unified command-line interface