[refactoring] Add not refactored introduce gateway.