Drag drop

Ok, done. Ignore the tablemimedata, table and document changes as those changes does not effect logic.