moves config to separate file