added first draft for neural network classifier
misc
fixed bug