updated new style event class

unsing name space
addd data cleass and event class
added example project