Working NN! Code are quick and dirt, need to refact!