added documentation on the communicaiton protocol used