added class paginator

added class paginator