Add create dir functionaility