Changed spec of kFoldCV to take a classifier, changed main to instantiate classifier before kFoldCV is called, cleaned up side-effects