Hw events

Hardware now works via an event queue which brings a significant plus in performance