updates to cards and template file structure