Modifying Config class to load wordpress global options.
Adding a few comments in config class.