From nanodevices to nanosystems : a case-study with carbon nanotubes and hetereogenous integration