*
* @throws JitcaException
* if an error occurs.
*/
public JitcaiTunesController(boolean lazy) {
this.iTunes = new iTunesApp();
this.library = new UserLibraryImpl(lazy, this.iTunes);
this.trackController = new TrackControllerImpl(iTunes, this.library, this.library.getTrackFactory());
this.playlistController = new PlaylistControllerImpl(iTunes, this.library.getPlaylistFactory());
this.playerController = new PlayerControllerImpl(this.iTunes, this.playlistController, this.trackController);
this.eventController = new AdvancedEventControllerImpl(this.library, this.iTunes);