#9 Move pathfinding logic from GamePathLayer to PathGraph