moved graphics related classes to a graphics package