Updated renderer2d class to do only rendering and graphics class to handel projection modes