Class and methods for smstp_c and sim_rs_c, rename generator=gen, example