more rating refactoring, got basic rating charts