add statistics collector from previous events
add statistics collector from previous events

average of previous data is now collected at start, selectFrom method added to mysql object to make queries easier

pcse/pmm-scanner,pcse/pmm-scanner,pcse/pmm-scanner,juanvallejo/pcse-scanner,juanvallejo/pcse-scanner,juanvallejo/pcse-scanner