adding corpus_stats.pl
cleaning up files
modifications
new changes