refactored main and team views; added team controller