gross copying of neural net, but we will fix it later
commenting todos