Initial version of the worker role