Renderer stuff

Moved the renderer stuff to a dedicated branch and cleaned up some commits. Sorry guys for the inconvenience!