move job control out of core