Clean up unused files and change references from old name to new.