Add a template and theme loader