Modeling And Integration Of Demand Response And Demand Side Resources For Smart Grid Application In Distribution Systems