Job queue management and distribution refactored to a service

Job queue management and distribution has been refactored to a service.

2208256