Added one more way to make instance singleton.
Rename Singletone to Singleton.
ObjectFactory ModernFactory functionality
ResourceManager adaptation to new factory