#39 add DRY template for codices