Add events module
Merge remote-tracking branch 'master/master'