Issue #9: Added command-line args

Passing command-line arguments allows testing of some or all components.
List of arguments is documented in main().
Issue #9: Cleaned up output