rework DefaultEventConfDao to be much faster and easier to understand