add controller for animal , fix getconnection = new connection, retrieving functions, get list from store animal