Application to use templates and variables to build complex configuration documents