add pathfinding to package.json