Create events.lua