installs and configures ttemplates