Portable IoT framework