modularize configuration