Added initial drag and drop functionality