added animal.h and main