D.R.Y.ed up, updated views, added views and controller logic for groups.