Refactoring: Pathfinder

Clean up Pathfinder, Tile, constants, and their usage