PSYCHO: a prototype system for pattern management