Add getter & setter for main config
use static getter instead of GLOBALS to access configuration