added PagedRunner class to wrap+paginate popen4