refactoring country dao.