added Network class