add network router support
change version
add default argumet to port and network classes