1) Fixed Access Permission issues with Copy & Move
2) Added support to rename directory with "mv dir1 dir2"
3) Cleaned up code