Building the GameObjectFactory