Adding in the first pass of the Django code and doing PEP8 fixes