Refactors Team to have private variables