Abstracting out the TeamType, changing the If-Else statements to use Polymorphism