Create event type on activiation
Remove uneccesary code from index.ctp