refactoring - run-sumo function, Service protocol