I want to use xml file to config generation and one file corresponds to one site. These files will be placed in one directory. when the program starts, it will scan the directory and parse these xml files. Next, the same number of threads will be established to do job.