Added Energy

Begun the energy script which will control the energydisplay and energy
usage. Not finished.