Moved RenderState to its own file