Created Network class