added pathfinding class