reworked pathfinder and added test to main