laying the ground work for the levels and player control