Refactor OneBox::Engine::DiscourseLocalOnebox into smaller methods