added full 'save to file' feature
header to file added to the saving process
full merge of nick and sean/hugh files
Merge branch 'nelsonni-corpus_refactor'
bug fix