add getAddressCompoents function to make us address parsing easier