Add class MapListHandler for getShortestPath method.