Modeling the neutral-ionic transition with correlated electrons coupled to soft lattices and molecules