Extensive changes to graphics class

Graphics now rendered using Cocos2d