changed config format and the way data is passed to the workers
handle the new worker call format