Job/tasks worker

This fixes #431 and fixes #447.
Could this have a more descriptive name than j?