make a utility function for starting up a worker.

*  we can use to ensure worker state is properly replicated between nodes