A Generalized Construction of Calabi-Yau Models and Mirror Symmetry