Abstracted location sensing with new class LocationRetriever.