From Patterns to Components