Nanoarchitectonics of molecular aggregates: science and technology