Text this: A Unified Approach to Substructuring and Structural Modification Problems