Added Pathfinder to handle paths (now dynamic)