Added NN structure saver