add server connection class that listen all input and output data