Reorganize dijkstra subpackage modules and input/output files.