change template loaders on production as suggested by istvan

should improve performance, templates stay in memory