Added a Network class