Add net, sgd updater, some basic layer classes.