Started working on a shader class and moving stuff out of the graphics object.