Refactoring race example to its own package