Added a special class Outputter to draw graphs.