Rename configure to global_config
Rewrite config and update  help messages.