Started energy code
Edited slots
Moved energy to battetree for testing