Adds templating and data endpoint