Use Config class for config.yml in main class.
Added clearConfig() to Config class.
Sanitize config path names.