Generalized kinetic (Boltzmann) models: mathematical structures and applications