update cgconfig to expose get methods