cleaned Game class from duplicate variables and moved all rendering to render function