WIP client: min client for discovery

i will not worry about it right now. so just go for it. if it turns out to be not clear or difficult to manage, we will look at the alternative.