moving CommandEvent class to commonapp repo