Fix configuration parse and add pid file for daemonize