Add function to get the current directory and a list of selected items of the current explorer view.
initial import
import folder structure