Implemented the singleton pattern metaclass