Modified to now have global and local configurations passed to every module. This allows for common information among the modules (like server location, or encoding used, for instance).