add simple c++ based flow to txt app