Text this: Modeling Complex Systems by Structural Invariants Approach