abstract dog attributes to animal class