add reactor and modules_manager