moved events and messages to clide-common