Refactoring the code of Phonebook Application - High Quality Code