Cache templates for Act

Instead of loading templates on every call, load once at startup
and clone for every call. So far the performance difference is
minimal, but I anticipate the improvement would be seen with
concurrent requests.