enhancing the location class to expose address components as methods