changed server events to structs.
changed cluster events to structs.