moving templating to server side
removing old client side templates