Priority-Based Residential Energy Management With Collaborative Edge and Cloud Computing | Synapse