Code of the classifier and related tools