Layers of IoT architecture