Implement rename refactoring.
Remove unused files.