creates the renderer class