consolidate a bunch of getter methods into one setConfig method