Add Team class for handling teams, as they now can have names internally. Also, start using this for accessing teams.