this question relates to OS X and Obj-C only
I want to define a singleton inside shared library.
I also want to use it after the library is loaded