Add the capability to remove a root dir

Refer #8