Modernizing the Electrical grid