daemonize the process with config settings
Merge pull request #4 from selevanm/daemonize

daemonize the process with config settings