Create Singleton class to use for singletons

This will be used as a base class for any classes that need to be a
singleton.