Added a script that formats training data to be converted to LevelDb
merge fix