Added events/lib/events.lua and changed events.cpp so that it's loaded