refactored out jobs into distributed workers