Creating a client to send data