set up animal and category tables