Re-arrange the classes for game.