Merge worker and scheduler into one daemon