add G() method to get config from config.php