finish the low level network functions like ping and connect
add files