Added the rename function capability on client. Almost complete.