Added Abstract class to Graphic