move worker creation (and client and reserver)to a factory to make it easier for others to customize qless usage