Added Event class and a data-manager for it.