filling out the api a bit, adding pagination following
bugfixes, testing pagination