moved mock server/client into tools