Initial implementation of drag and drop functionality