Started adding events system for the lua scripting.
Merge pull request #1 from garymevs/master

Started adding events system for the lua scripting.