Add Config and Daemon mode