Added separate team functionality to PathFinder