Issue #270 fixing pagination and adding documentation