moved more functions under app namespace and reorganized menu to be more useful for restarting games