Treatment Of Wastewater In Smart Cities