Make event_type link table

Melange task: http://www.google-melange.com/gci/task/view/google/gci2014/5234308872667136
Writing functions like this inside makes it hard to read(poor readability).
You could just save it in a variable