lots of refactoring
get list from wrapper
refactored pagination logic into own class and wrote tests for it
Merge branch 'param-refactoring'