Move event definitions to events.go