extract pathfinder to its own repo