setupWorker function

Setup a worker site