remote iot.db and generate instead, preload class