refactoring: traffic flow worker creation.