Added template configuration (and predefined templates)