Corpus processor functional

Posting current code before scheduled group meeting on 12/1