Configuration accumulation using command line or a class