moved config options to class