add empty credits menu
extract a game object out of the run function
extract the run method from game to main module
extract main menu code to separate module
move in game menu to separate module
move menu init code to separate module
move gl check to the main module