draft of external client
first version of response handlers