Added some more junk to the command line app. Not sure why I'm doing this instead of cleaning up the exception handling and adding unit tests. Also, if I'm going to go down this road, should probably make the command line more robust. Command pattern, some kind of controller facade? MBean support? Oh well.