A multi-module case-based biofeedback system for stress treatment