Add in _node and _gateway code and config