Creates EventSender class