added Renderer and NullRenderer classes