Break the render package into seperate files

Fix some errors with the renderX -> RenderX switch on TemplateRenderer,
also break the render package into separate files to reflect what each
does