Setup initial command parsing from command line. Added  handler to main collection. Added a test for handling commands