Added a menu and restructured the program local variables into a dict