Initial working version; requires modified input files with extra column and template read in from a syn entity.
Populates more data fields, no figures.