rework templates to use separate storage for entities.  also rework
scan, import/export to accommodate separate entity list and handling