Outsourced parts of rendering to their own class that uses the new Renderer API