More features added and network class code done

More features added and network class code done