Modify SortTool and
Create op, distance, state and workload files