first phase of migrating db encoding and template options to executor options