Migrate to new iotapp