Create base class for Singletons