Some refactoring. Made playlist draggable.