Add template_c and cache directory