Fixed removing non empty directory. Added create directory.