Added EventDB class