Simple client for client-side pagination making use of generic types and allowing for chainable methods