Implement triggers, scenes and actions in backend (with tests and benchmark 😜 ) (Eventually implement scripts executions)