created horse class