refactoring before I import the pagination module of crawler.corpus
models annotated with pagination
can run from command line as well