Added teams, team access, tests