added some changes
added isolated option to Network class