events() : A simple function to manage hooks & events on your php application.