created new class TuiReactor