Add paging, and a client to consume the api