ParameterFactory to create parameters and then set them to the commands.