create network class

network class definition