@staticmethod
def factory_by_name(class_name, args=(), kwargs={}):
    """from user specified device class name, return the proper device
        class.

        :param class_name: string (has to match the name of device class)
        :return: the class

        """
    return globals()[class_name](*args, **kwargs)
