factored out addDragListener
renamed variables
reorganized todo list