Started utilities.py file, to simplify views.py file.