moved parts of client configuration to server setup