AbstractCorpus deleted and main() updated