added training obj which runs a NN to train the images