Added structs for game objects and modified the game loop to use the objects to determine what and where to render to the screen