Added some framework for the user entering commands. Implemented the exit command.