How buildings become smart with the implementation of IoT_