Added teachers views, refactored teachers profiles, D.R.Y.ed up.