Neural network library