Add header file for database
Revert "Implement Event data functions"

This reverts commit 59c21b9328cbb7a236bfbf06d691978b06cc98e9.