Added global event system
Updated docs; global event system