Refactoring.
- Created the EnergyAgent as an abstract class of all the agents of the
platform.
- Bug fixed: Move costants that were in the PlatformImpl class.