Add function cdback, cdclear. and only move function cdj to upper.
Refactoring, reduce unnecessary one, and fix bug that directory name includes space.