Environmental Management to Improve Quality of Life in Smart Cities