start of network class