resurfacing the existing functionality in the new project structure + addapting the selfchat-sample to bert and ernie