Jko/record events

Event recording