add template code for StringExtension and Data Project