Add template system for entitys in folios