Added functions to retrieve team list and stats from teams