initial checkin of eventcmd, need to work out mac usage