Create event controller