Pager class that to get pages collection for database