An Integrated Framework for Structural Geology