create animal class