Finished the base for neural net library