Added basic command line processing.
Better handling of results.