what are the features of medieval towns