modified and improved animal controller and views