Added a command line menu in Main class.