put it in a command oriented form
add start of a client