Change interface of rating service to take teams