Split musicLibrary into musicPlayer and musicLibrary. Pass objects instead of ids between the two. musicLibrary now creates new Song objects, and its getters return copies of objects.