Moved drawing code into new Renderer class.

Also can now set drawing color using a uniform variable in the fragment
shader.