server agnostic client templating architecture implementation in python