Removed unneeded code.

New files to the classes defined in GraphicTask header. The GraphicTask
class is simplified.