Beginning interhitance exercise and refactoring code from todo and addressbook apps