server agnostic client templating architecture