Rename endpoint class file