Why IoT should have an artificial intelligence layer?