Refactor race entity, prepare for core data.
Finish core data for races.