adding a RenderGame class.