init the directory