added a levelload function that returns game objects