Changes about configuration.

1. Use different config files per mode.
1. Extract configuration from Global.