Renamed parameters in pathfinding for clarity, and documented entire init module.