Make config a global shared pointer.