Added basic pagination, tests are missing #76