Create mainWire