added PlotTools class and logic for plotting data sets