refactoring Menus into Classes