Network class implemented and Server class improved.