add comments to SourceCodeClassifier, refactor according to the code review