add KBCorpusBuilder + make some changes in KBCorpus in order to get documents without taking too much memory (lazy loading)