Master Thesis on Photodetection with Defects in Carbon Nanotubes