def get_class(class_name):
    """
    Returns the class corresponding to a string
    :param class_name: the given string pointing to the class from the working directory
    :return: the class as an object
    """
    parts = class_name.split('.')
    class_module = ".".join(parts[:-1])
    m = __import__(class_module)
    for comp in parts[1:]:
        m = getattr(m, comp)
    return m