make GameMenu and main more abstract using a map as constructor parameter (now MenuManager)