Added pagination handling
Merge pull request #3 from Coenego/fetch-all

Added pagination handling