added some docs on the gateway