Design considerations and fabrication of an optoelectronic system for thin film and semiconductor studies