Add most of the question answering logic