Added support for operating on plain files for build_corpus.py

Removed the special-purpose script build_corpus_files.py
created a python package 'wcb' and moved a lot of code into it