Enabling Smart Cities Through IoT