Repository API, Team repository, interfaces
Util for team queries building