Planning a city: What makes a community? How do the parts fit together?