Split config option definition and config parser
Move config.[ch] to daemonlib