def get_classes(classes_path):
    """ Loads classes from text file 
        Input: 
            classes_path (string) - The path of classes
        Output:
            class_names (list) - Class names in list format
            class_mappings(dict) - Dictionary mapping class names with id e..g {"aeroplan": 4, "apple": 47 ...} 
    """
    with open(classes_path) as f:
        class_names = f.readlines()
        class_names = [c.strip() for c in class_names]
        class_mappings = dict(zip(class_names, range(len(class_names))))
        return class_names, class_mappings