first implementation of Rename

first implementation of Rename, still need to write tests for it