init client server