chatbot with three modules