Add base structure for gateways I/O