Extend module manager.
Added throwing error if event does not have associated module.
Remove dependency to underscore.