Settlement Patterns, Production and Trades from the Neolithic to the Middle Ages