Merge pull request #9 from anfruth/pagify

Pagify
Merge pull request #10 from anfruth/refactor_and_add_tests

Refactor and add tests
Caching error fix