Added comments to code

Gateway code commented
node code commented