Architectural and planning issues in intelligent tutoring systems