horse class for horserace game