A Demand Response Energy Management System (DR-EMS) for sustainable district