First pass at command line utility.
Merge pull request #31 from mdboom/commandline

First pass at commandline utility