first commit for neural network
cleaning up the stupid code
more refactoring