More Than Smart: A Framework to Make the Distribution Grid More Open, Efficient and Resilient