add a singleton class.