Moves the game factory to the common in src