PathFind integrated into Controller class