Print the phonebook.

Change how phonebooks are initialized. Save the phonebook name in the phonebook object.