Small refactoring #2 ('cost' -> 'record'/'amount')
Added tables 'labels', 'label_sets', 'labels_in_sets'