Renderer constructor