- implemented events management
- test_video.lua example uses events now :)