Refactor: CorpusReader and ClsCache as separate files