working version with all and zone off
state with non faling edge off switching localy
added the hardware files