Refactoring code to be more DRY. Extracting methods from AppClass to ContactClass