Create GateMain.lua