initial client-server setup