What do Machu Picchu in Peru, the ancient castles of Europe, and one small town in Massachusetts have in common?