Create a template cache and use it in the app