Implementation of a "Singleton" class