First implementation of Drag-n-drop (fixes #1)