Implemented the command handling engine and added a help command.