.NET based console app to transform input strings using a supplied template