Comments added on all classes.

Renamed InputEvent to TriggerType
UserAction to ViewAction