Paginator Class, last changes uses now Paginator