modularize settings