Refactored Corpus updates and splits
Refactored preprocess
Added some godoc to util