refactoring for Racer.java and RacerServiceImpl