Move templates to a per-brand subdirectory of /res. Add templates.path and brand.default config options