rewrite some codes
remove Mkdirp from devDep