Modularize the config