adding EM_lens.pm parent class for solenoids and rf cavities