change the way to read template & config files, including those files into the project