Characterization and Design of Complex Networks