Complex Event based Processing framework