added Corpus class