Added initializeContacts() and getContacts() method