Implement exit commnad
parseCommand returns command object