added callopts as an explicit param to classification
some changes to classification, added trywithtimetout fxn