added standalone version of the classifier