Detection techniques for the HESSII telescope, data modeling of gravitational lensing and emission of blazars in HE and VHE astronomy