xarModAPIFunc -> xarMod::apiFunc
Rework the scheduler entry point to call Xaraya without hard coding