refactor after get-package reimplementation
put a pagesize for returning search results