Library for connection with the service