Added database for nodes and edges for the Astar traversal