imported important functions, startedcreating outline for NN learning