Convert data files to sqlite database.
Revert back to file storage for performance
Use better names for the key events