Moved graphics stuff to its own class

Yay