Starting to make the code for connecting to the host service