refactor SourceCodeClassifier