Passing parameters to config class