Building a Renderer class to handle the drawing