refactor repositories to include explicit pagination

Some interfaces had the `all` method removed due to not being used anywhere

Added the `PAGINATION_LENGTH` env value as well as the `pagination_length` method