Optimizing M2M Communications and Quality of Services in the IoT for Sustainable Smart Cities | Synapse