copy and pasted some sections of chatbot to a new module, trainbot
refactoring chatbot to separate code
fixed indent near super call
added imports