generate team controller