creation de la classe Event