Switch to use of universal logic component
Moved to universal trigger component with inserted buffers to split the network into strict layers
Also cleaned up the code and documented somewhat