Added SharedSingleton class. It is sort of automatic Singleton.
You need to be careful to use it.
Compiles and works well!