Some refactoring

- Changed repository type of some of the entities
- Introduced some constants to the views
- Added a custom validation attribute for the DateTime of the race (when
creating new one)