Move createDirs to confFile

make createDir() able to create multiple dirs
Merge branch 'trunk'