Add initial version of data statistics
Add obtaining average consumption
Add some useful statistics