Implementation of an ASPEM: Agency Services Provider for the Energy Management. It is based on the Agency Services concept (software agents acting as cloud computing services).