Refactored pathfinding schema classes into new-style components