class generator now accepts input csvs