Added pagination support
Merge pull request #13 from sbelak/pagination

Added pagination support