Implement basic pathfinding API