Massive overhaul of project structure to move the bulk of the typescript code used to make the renderer work into its own project.