storing labels

changed 'labels' to 'has_labels' (bool), labels is a list now