Created classes to help manage graphics

Code needs some major cleaning