Added console/gui alternative for corpus object.
Added comments to corpus.py file.