accelerated the training phase
added class for evaluating