Created 'phonebook' and restructured api calls