added basic files to implement a feture that performs user defined action triggered by events.