Fabrication and materials used in solar cells