[fix] 1. config could be customized now; 2. auto handle Boolean and Number of config; 3. puts all logs into `logs` folder in order to make `root` tidy.
mark `pidPath/logPath/sockPath` as readonly