Tablesmith has a village generator. It generates the population, their classes, levels, professions, and shops. You can click a shop to generate the shop builder which gives you the shop name, shopkeeper name, quality of goods. And it's all text files so you can customize it however you like...