location.py is now complete along with its tests