Added classes for generic network (abstract object) and class Net1Lin - all of it works!