A lazy-loading model framework