Updated main logic.

Added more logic to respond to user input. Updated the main program
Prompt the user what they want to know also will now exit on commend.