Create gateway.c