In the paleolithic age people would stay in a dug up dirt hole or a cave. They would eat anything the hunter and the gatherers brought back like deer meat or berries. There were very little people in a group because they were nomadic.
In the middle of the paleolithic and neolithic the shelters were developing to be permanent because paleolithic people are learning to make better and stronger houses.
In the neolithic age people had bigger communities because they had a reliable food source so now they don't have to nomadic and the bigger communities makes more jobs and than they have a full functioning community.