fix missing classification. Add basic classification and cross-fold infrastructure