add pickling of classifier