reorganize the structure of folder and add default config file for daemon process