Load Freemarker template from database.

Ready but depends on Erwin's R script changes.