Hooked up pathfinding to be worked out server side.