Enhanced event loop with triggers and amultiple actions

More than one action can be registered to a single condition, allowing more than one action to happen based on a timer

Triggers are added to allow actions to be triggered from outside  the event loop

A new trigger message was added to trigger actions from the host device