Updated AbstractDispatcher so that service and splitWork take a numberOfWorkers parameter.