Small php event system