[feature/pagination-class] Move pagination code to class
[feature/pagination-class] Test validate_start and on_page