Fixing two issues:
1. output file format
2. Classifier data was lost due to a bug. was fixed.