Added energy logging and API methods to retrieve logs
retriveData -> retrieveData, latest energy query
Merge remote-tracking branch 'origin/store_energy'