improve CLI and Cron stuff
import the WorkOrder code