Custom event module added

In order to invoke custom events a basic event architecture model is
added.
Need major improvements or the understanding of its limitations.