cleaned up template code.

removed experimental template exporting - because it's no faster
(fileService Template loads the file so we can't go quicker via the API)