Splitting views.py and models.py

Separating parts of views.py and models.py into forms.py and
utils.py for cleanliness.