After changing the names of classes old classes are still present.So deleted them manually and checking in.