Added framework for drag and drop