Add location.py, make other modules work with arbitrary location.