Remove distance template, add base
Separate helper functions to tools.py, add error handling for views
Move view helpers to tools module, use django-ipware, add docstrings
Add django-ipware