added mkdir, rmdir, type and rename