Rename a class and create new class with the name as old one