Moved render to templating module