Added Generic EventStack class