Beginning of DijkstraManager