switch config to get/set, add top-level templates dir to config