First version working "general" purpose NN