Refactoring AddressBook class