Modularize config parameters into related class