Refactor address processing to utility class.