refactor pipeline arch
refactor pipeline arch