resolve issues 1-5, added Renderer factory