add class loading agent