Removed the renderer class. Renamed the renderer namespace to rendering. Various fixes and cleanup.