Adds the index view controller and the codgin view controller where the drag-and-drop will happen