regroup Iterator function class and method under the same namespace