move setting of pager theme into gateway's paginate method
remove 2 unused imports and run cs-fixer