Events implementation

Signed-off-by: jfruitet <jean.fruitet@free.fr>