Building carbon nanotubes and their smart architectures