adds gateway script & demo + extends readme