Moved drag and drop functionality to dragdrop_controller.js