Define event log model; closes #648