Creating the client