Adopting the cloud to manage the electricity grid