extract conf to module