Jmej

refactored pagination and API calls