initial commit, preprocess training data