Added a menu interface to main and added a class for driving it