2 State of the art access to the controlled generation of well-defined polymolecular architectures in layers, films, membranes, micelles, gels or mesophases. 26 The generation of ordered mesoporous materials is possible via templating by self-assembled liquid-crystalline phases. In this case, there is a geometrical correlation between the surfactants array size and shape and the final pore size and geometry in the mesophase. Surfactants consist of a hydrophilic part, e.g. ionic, non-ionic, zwitterionic or polymeric groups, often called the "head" and a hydrophobic part, the "tail", e.g. alkyl or polymeric chains. This amphiphilic character enables surfactants molecules to associate in supramolecular micellar arrays. 27 Single amphiphile molecules tend to form aggregates in aqueous solution due to hydrophobic effects. Above a certain critical concentration of amphiphiles, formation of an assembly, such as a spherical micelle, is favored. In these aggregates, * the surfactant molecules are arranged such that the heads form the outer surface facing the water and the tails are clustered together pointing toward the center. The formation of micelles, the shape of the micelles, and the aggregation of the micelles into liquid crystals depend on the surfactant concentration. At very low concentration, the surfactant is present as free molecules dissolved in solution and adsorbed at interfaces. At slightly higher concentration, called the critical micelle concentration, CMC, the individual molecules form small spherical aggregates. At higher concentrations, CMC2, spherical micelles eventually coalesce to form elongated cylindrical rod-like micelles. CMC2 depends strongly on temperature, surfactant chain length and surfactant counter-anion binding strength. With increasing concentrations, liquid crystalline phases (LC) form. Initially, the rod-like micelles aggregate in hexagonal close-packed arrays. As the concentration increases further, cubic phases form followed by lamellar phases. 23,27 Details of this sequence might vary, depending on the surfactant, but in general the sequences is valid for most systems.Efficient template removal and faithful imprinting have been largely shown to depend on the nature of the interactions between the template and the embedding matrix, and the ability of the matrix to adapt to the template. The intimate template-matrix association required for supramolecular templating of inorganic mesophases is generally facilitated by the flexibility of amorphous inorganic networks with low structural constrains, small inorganic oligomers, and by the large radius of curvature of the organic template. Ideally, after removal of the core molecules from the surrounding matrix the shape of the voids that remain reflects the shape of the template. * The term aggregate is used for the supramolecular array formed upon self-assembly of single surfactant molecule.