Refactoring (move out API dependencies from controller to MusicManager)