init server-client