Add the iot.py to simple the application for logic