Use only one underscore for private variables

Signed-off-by: Tomas Hozza <thozza@gmail.com>
Add EnergyTracker class for grouping energies

Signed-off-by: Tomas Hozza <thozza@gmail.com>