Added: Ilogic interface with event and implement event to LogicGate and LogicPin