moved weka instance creation to classifier