add network module

add network module and its simple test