Defintion of the connection service.