Refactored RenderingEngine using Camera