Create loader event class