Visible to the public Architecture and Distributed Management for Reliable Mega-scale Smart Grids