Simple event manager for php (5.4+)