Add empty template to app code instead of db
render details in template
fix bug -> break when shifting old values from temp data arrays