WIP client: min client for discovery

That is so Jave style.