implemented lookupserver and exchange, part of client, not working copy