- updated event structure
- started to factorize event code
- added medialist and medialist player
camelCased some functions
handled null media