add model resource manager