Adding directory rename feature
adding some comments