added getter/setter for config