add Corpus and Document class into Controller folder