updated the template paths to mirror the templates directory structure