added the worker skeleton for snapshot creation