refactored MapEventModule to use common table code
use new EbEventFlagTableEntry class everywhere