Adding constructor to client_base