added getConfig() to gcServer and gcClient classes