Split out data reading from graphing

That way it can be shared by other graphing utils.
Add some more cleaning action to the Makefiles
Add errorbar plotting