Implemented the paging pattern
Handle failures on paging folding correctly
Implemented filter properly
Implemented many tests for the non indexed Paging
Implemented many tests for the indexed Paging
minor style changes