moves template loaders into base config