Changed the way game objects are created