Abstract get music_data attribute in general functions
Add interval class in music_data model