EventService OK

Deleted eventrecord.timewritten.also made the IOC for config to work.