Initial pathfinding class, untested.