Moved GLState to render

Also added some code
Added RenderManger
Implementing mod system
Added hook for mod loading

Refactors for GLState also included