refactoring of code
able to add tracks and then view them by clicking on the playlist
removed debugging variable