move overall config to module