added comments to all header files. Moved the plotter implementation from the header file to a cpp file