move InitClient to server.go and add a Stop() to the server