Refactorized the global parameters structure.
Parameter callbacks are also globals.