more modularized loading of configuration files