refactoring into a playlist class, initializing track list.