Network Design: A Theory of Scale for Ubiquitous Computing