Adding templating to the application