implement put/del/cd and so on, clearify network related code