the houses were hardly more than mud huts , and they had flat roofs and animal pens at the rear , pens that seemed largely decorative , since chickens , pigs and goats wandered freely in the streets .