Added events framework for tracking key events.
Merge branch 'my'