add main and parse_cmd dummy
add user,host,cwd and cd support