add class ConnectToServer