Refactor LeaguesController and TeamsController

Moved the controller code for the CreateModalTeamsController from the
league module to the team module