added a few lines to support playing the next song, if the current one ended
added a new class which helps with debug-messages