Added Worker and BatchWorker classes