move corpus_reader to lib/