add weka lib and rework scanner to reader