Implemented drag and drop with the new library