Design and Development of a New Control System For Improving Energy Efficiency and Demand Response