Complete implementation of addressLookup (#19)