Refactor a bit by moving some model logic out of the player controller, into a Team repository