added subscriber for Sf2 kernel events, included some example codes