An architecture for knowledge management in intelligent tutoring system