add Event class and mapping it.