Refactored some code for easier viewing on ABContactsGrabber