Created Horse class for creating object references