created Animal class