preliminary foreman v2 full support, in particular adding smartclassparameters