refactor part architecture

implement stage editor