CURRIKI-6057 Threaded discussion: adding flag feature, standardize XML files