added network class
added network class finally