You can buy animal buildings in the Shop (the basket button in the lower left corner) in the Animals tab. You unlock different types of animal buildings as your farm level increases.
To make animal feed, build the Feed Mill. Bees and bombyxes are an exception. For them, you need to plant Honey Flowers and Mulberry Bushes from the Plants tab in the Shop.
Learn more in the Farming section.