Design of functional nano-structured inorganic and hybrid materials