Rating class and rating class DB added and integrated