rearranged some code in updatePlot
added dataPoint object
implementing dataPoint class in saveData and UpdatePlots methods
closed #20. app now uses dataPoint class to plot values in history series