move multi layer perceptron to root
some changes