Add an overload constructor

Add an overload constructor for Event class