Added rm and rmdir
Added Undelete
Added Error Checking
Remove unnecessary functions