A flexible semiconductor for electronics, solar technology and photo catalysis