Preparing corpusdb for Features class.