Fix miss spelling for daemonize
Add a class read config from yaml file