Split Renderer.ts into many files