factor configuration info to separate file