Rename gateway settings handler. Give call examples
Get rid of legacy code