added cat class, edited animal class and index made