An Architectural Approach to Instructional Design