add: pathfinding has its own class