Initial version of distributed worker.