Refactor router/controller. Create base teams view and associated templates.