started team class and team functionality