Add templatekeys to InputTemplate
almost implement FromDictionary in InputTemplate
Tentatively use LINQ for ConfigurationTemplate