Add support for the pagination of the api packages endpoint
Adjust the CLI to the API
Add a little more debuging output, it will be handy to know what has been called with what to debug