Initialization and to retrieve a copy of the pointer for the singleton.