Handles the configuration of the daemon.
this module is responsible for parsing the Config.toml file, parsing cli arguments, and setting up the logger.