Replace the separate init/fini functions for the compiled VCL
with a single "event" function which takes the event as parameter.
Expand inifin mechanism to also handle events