From Information Retrieval to Cognitive Restructuring: Building the CCA Prototype