Implemented the RaceDatabase