Implemented CRUD for animals on front end
Adapted API slightly